package org.xxpay.core.entity;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import org.apache.commons.lang3.StringUtils;
import org.xxpay.core.common.util.DateUtil;

import java.io.Serializable;
import java.util.Date;

public class PayAlizftMchInfo implements Serializable {

    /* 拼接查询数据  **/
    public void appendApplyQueryInfo(String oldVal, Object queryResult) {

        JSONArray array = new JSONArray();

        if(StringUtils.isNotEmpty(oldVal)){
            array = JSONArray.parseArray(oldVal);
        }

        if(queryResult == null){
            return ;
        }

        JSONObject jsonObject = new JSONObject();
        jsonObject.put("queryTime", DateUtil.date2Str(new Date()));
        jsonObject.put("queryResult", queryResult);
        array.add(jsonObject);
        this.applyQueryInfo = array.toJSONString();
    }

    /**
     * 系统商编
     *
     * @mbg.generated
     */
    private Long subMchId;

    /**
     * 系统状态,1-可用,2-停用
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 通道模板账号ID
     *
     * @mbg.generated
     */
    private Long passageTemplateId;

    /**
     * 支付宝ISVId
     *
     * @mbg.generated
     */
    private String alipayIsvId;

    /**
     * 最后收款时间
     *
     * @mbg.generated
     */
    private Date lastInTime;

    /**
     * 支付宝申请单ID
     *
     * @mbg.generated
     */
    private String applyOrderId;

    /**
     * 进件状态,1-未进件,2-申请中, 3-待签约, 98-申请失败, 99-正常
     *
     * @mbg.generated
     */
    private Byte applyStatus;

    /**
     * 审核拒绝原因
     *
     * @mbg.generated
     */
    private String rejectRemark;

    /**
     * 入驻成功返回的支付宝商编
     *
     * @mbg.generated
     */
    private String smid;

    /**
     * 商户结算方式,1-主动结算,2-自动结算
     *
     * @mbg.generated
     */
    private Byte settType;

    /**
     * 当面付 开通状态： 0-未开通,1-已开通
     *
     * @mbg.generated
     */
    private Byte QRPaySupport;

    /**
     * app支付 开通状态： 0-未开通,1-已开通
     *
     * @mbg.generated
     */
    private Byte appPaySupport;

    /**
     * wap支付 开通状态： 0-未开通,1-已开通
     *
     * @mbg.generated
     */
    private Byte wapPaySupport;

    /**
     * 电脑支付 开通状态： 0-未开通,1-已开通
     *
     * @mbg.generated
     */
    private Byte pcPaySupport;

    /**
     * 风控状态,0-关闭,1-开启
     *
     * @mbg.generated
     */
    private Byte riskStatus;

    /**
     * 累计当日交易金额
     *
     * @mbg.generated
     */
    private Long dayAmount;

    /**
     * 风控当日交易金额
     *
     * @mbg.generated
     */
    private Long dayAmountLimit;

    /**
     * 单笔最大金额,单位分
     *
     * @mbg.generated
     */
    private Long maxEveryAmountLimit;

    /**
     * 进件的二级商户名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 商户别名
     *
     * @mbg.generated
     */
    private String aliasName;

    /**
     * 商家类型：01：企业；02：事业单位；03：民办非企业组织；04：社会团体；05：党政及国家机关；06：个人商户；07：个体工商户
     *
     * @mbg.generated
     */
    private String merchantType;

    /**
     * 商户类别码mcc
     *
     * @mbg.generated
     */
    private String mccCode;

    /**
     * 商户证件编号（企业或者个体工商户提供营业执照，事业单位提供事证号）
     *
     * @mbg.generated
     */
    private String certNo;

    /**
     * 100：个人商户身份证 201：营业执照 ...
     *
     * @mbg.generated
     */
    private String certType;

    /**
     * 个体工商户商户类型要求填入本字段，填写值为个体工商户营业执照上的名称
     *
     * @mbg.generated
     */
    private String certName;

    /**
     * 营业执照图片
     *
     * @mbg.generated
     */
    private String certImage;

    /**
     * 证件反面图片。目前只有当商户类型是个人商户，主证件为身份证时才需填写
     *
     * @mbg.generated
     */
    private String certImageBack;

    /**
     * 法人名称
     *
     * @mbg.generated
     */
    private String legalName;

    /**
     * 法人身份证号
     *
     * @mbg.generated
     */
    private String legalCertNo;

    /**
     * 法人身份证正面（特殊必填）
     *
     * @mbg.generated
     */
    private String legalCertFrontImage;

    /**
     * 法人身份证反面（特殊必填）
     *
     * @mbg.generated
     */
    private String legalCertBackImage;

    /**
     * 经营地址：省编码
     *
     * @mbg.generated
     */
    private String provinceCode;

    /**
     * 经营地址：市编码
     *
     * @mbg.generated
     */
    private String cityCode;

    /**
     * 经营地址：县编码
     *
     * @mbg.generated
     */
    private String districtCode;

    /**
     * 经营地址：地址
     *
     * @mbg.generated
     */
    private String address;

    /**
     * 客服电话
     *
     * @mbg.generated
     */
    private String servicePhone;

    /**
     * 门头照： 当面付服务则必填
     *
     * @mbg.generated
     */
    private String outDoorImages;

    /**
     * 内景照： 当面付服务则必填
     *
     * @mbg.generated
     */
    private String inDoorImages;

    /**
     * 联系人名称
     *
     * @mbg.generated
     */
    private String contactName;

    /**
     * 联系人手机号
     *
     * @mbg.generated
     */
    private String contactMobile;

    /**
     * 联系人类型
     *
     * @mbg.generated
     */
    private String contactType;

    /**
     * 商户使用服务，可选值有：当面付、app支付、wap支付、电脑支付, json数组
     *
     * @mbg.generated
     */
    private String serviceArray;

    /**
     * 商户站点信息 json数组
     *
     * @mbg.generated
     */
    private String siteArray;

    /**
     * 二级商户与服务商的签约时间
     *
     * @mbg.generated
     */
    private String signTimeWithIsv;

    /**
     * 商户支付宝账号，用作结算账号
     *
     * @mbg.generated
     */
    private String alipayLogonId;

    /**
     * 二级商户支付宝账户，用于协议确认
     *
     * @mbg.generated
     */
    private String bindingAlipayLogonId;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 查询信息
     *
     * @mbg.generated
     */
    private String applyQueryInfo;

    private static final long serialVersionUID = 1L;

    public Long getSubMchId() {
        return subMchId;
    }

    public void setSubMchId(Long subMchId) {
        this.subMchId = subMchId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Long getPassageTemplateId() {
        return passageTemplateId;
    }

    public void setPassageTemplateId(Long passageTemplateId) {
        this.passageTemplateId = passageTemplateId;
    }

    public String getAlipayIsvId() {
        return alipayIsvId;
    }

    public void setAlipayIsvId(String alipayIsvId) {
        this.alipayIsvId = alipayIsvId;
    }

    public Date getLastInTime() {
        return lastInTime;
    }

    public void setLastInTime(Date lastInTime) {
        this.lastInTime = lastInTime;
    }

    public String getApplyOrderId() {
        return applyOrderId;
    }

    public void setApplyOrderId(String applyOrderId) {
        this.applyOrderId = applyOrderId;
    }

    public Byte getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(Byte applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getRejectRemark() {
        return rejectRemark;
    }

    public void setRejectRemark(String rejectRemark) {
        this.rejectRemark = rejectRemark;
    }

    public String getSmid() {
        return smid;
    }

    public void setSmid(String smid) {
        this.smid = smid;
    }

    public Byte getSettType() {
        return settType;
    }

    public void setSettType(Byte settType) {
        this.settType = settType;
    }

    public Byte getQRPaySupport() {
        return QRPaySupport;
    }

    public void setQRPaySupport(Byte QRPaySupport) {
        this.QRPaySupport = QRPaySupport;
    }

    public Byte getAppPaySupport() {
        return appPaySupport;
    }

    public void setAppPaySupport(Byte appPaySupport) {
        this.appPaySupport = appPaySupport;
    }

    public Byte getWapPaySupport() {
        return wapPaySupport;
    }

    public void setWapPaySupport(Byte wapPaySupport) {
        this.wapPaySupport = wapPaySupport;
    }

    public Byte getPcPaySupport() {
        return pcPaySupport;
    }

    public void setPcPaySupport(Byte pcPaySupport) {
        this.pcPaySupport = pcPaySupport;
    }

    public Byte getRiskStatus() {
        return riskStatus;
    }

    public void setRiskStatus(Byte riskStatus) {
        this.riskStatus = riskStatus;
    }

    public Long getDayAmount() {
        return dayAmount;
    }

    public void setDayAmount(Long dayAmount) {
        this.dayAmount = dayAmount;
    }

    public Long getDayAmountLimit() {
        return dayAmountLimit;
    }

    public void setDayAmountLimit(Long dayAmountLimit) {
        this.dayAmountLimit = dayAmountLimit;
    }

    public Long getMaxEveryAmountLimit() {
        return maxEveryAmountLimit;
    }

    public void setMaxEveryAmountLimit(Long maxEveryAmountLimit) {
        this.maxEveryAmountLimit = maxEveryAmountLimit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }

    public String getMerchantType() {
        return merchantType;
    }

    public void setMerchantType(String merchantType) {
        this.merchantType = merchantType;
    }

    public String getMccCode() {
        return mccCode;
    }

    public void setMccCode(String mccCode) {
        this.mccCode = mccCode;
    }

    public String getCertNo() {
        return certNo;
    }

    public void setCertNo(String certNo) {
        this.certNo = certNo;
    }

    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public String getCertName() {
        return certName;
    }

    public void setCertName(String certName) {
        this.certName = certName;
    }

    public String getCertImage() {
        return certImage;
    }

    public void setCertImage(String certImage) {
        this.certImage = certImage;
    }

    public String getCertImageBack() {
        return certImageBack;
    }

    public void setCertImageBack(String certImageBack) {
        this.certImageBack = certImageBack;
    }

    public String getLegalName() {
        return legalName;
    }

    public void setLegalName(String legalName) {
        this.legalName = legalName;
    }

    public String getLegalCertNo() {
        return legalCertNo;
    }

    public void setLegalCertNo(String legalCertNo) {
        this.legalCertNo = legalCertNo;
    }

    public String getLegalCertFrontImage() {
        return legalCertFrontImage;
    }

    public void setLegalCertFrontImage(String legalCertFrontImage) {
        this.legalCertFrontImage = legalCertFrontImage;
    }

    public String getLegalCertBackImage() {
        return legalCertBackImage;
    }

    public void setLegalCertBackImage(String legalCertBackImage) {
        this.legalCertBackImage = legalCertBackImage;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getDistrictCode() {
        return districtCode;
    }

    public void setDistrictCode(String districtCode) {
        this.districtCode = districtCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getServicePhone() {
        return servicePhone;
    }

    public void setServicePhone(String servicePhone) {
        this.servicePhone = servicePhone;
    }

    public String getOutDoorImages() {
        return outDoorImages;
    }

    public void setOutDoorImages(String outDoorImages) {
        this.outDoorImages = outDoorImages;
    }

    public String getInDoorImages() {
        return inDoorImages;
    }

    public void setInDoorImages(String inDoorImages) {
        this.inDoorImages = inDoorImages;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactMobile() {
        return contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile;
    }

    public String getContactType() {
        return contactType;
    }

    public void setContactType(String contactType) {
        this.contactType = contactType;
    }

    public String getServiceArray() {
        return serviceArray;
    }

    public void setServiceArray(String serviceArray) {
        this.serviceArray = serviceArray;
    }

    public String getSiteArray() {
        return siteArray;
    }

    public void setSiteArray(String siteArray) {
        this.siteArray = siteArray;
    }

    public String getSignTimeWithIsv() {
        return signTimeWithIsv;
    }

    public void setSignTimeWithIsv(String signTimeWithIsv) {
        this.signTimeWithIsv = signTimeWithIsv;
    }

    public String getAlipayLogonId() {
        return alipayLogonId;
    }

    public void setAlipayLogonId(String alipayLogonId) {
        this.alipayLogonId = alipayLogonId;
    }

    public String getBindingAlipayLogonId() {
        return bindingAlipayLogonId;
    }

    public void setBindingAlipayLogonId(String bindingAlipayLogonId) {
        this.bindingAlipayLogonId = bindingAlipayLogonId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getApplyQueryInfo() {
        return applyQueryInfo;
    }

    public void setApplyQueryInfo(String applyQueryInfo) {
        this.applyQueryInfo = applyQueryInfo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", subMchId=").append(subMchId);
        sb.append(", status=").append(status);
        sb.append(", passageTemplateId=").append(passageTemplateId);
        sb.append(", alipayIsvId=").append(alipayIsvId);
        sb.append(", lastInTime=").append(lastInTime);
        sb.append(", applyOrderId=").append(applyOrderId);
        sb.append(", applyStatus=").append(applyStatus);
        sb.append(", rejectRemark=").append(rejectRemark);
        sb.append(", smid=").append(smid);
        sb.append(", settType=").append(settType);
        sb.append(", QRPaySupport=").append(QRPaySupport);
        sb.append(", appPaySupport=").append(appPaySupport);
        sb.append(", wapPaySupport=").append(wapPaySupport);
        sb.append(", pcPaySupport=").append(pcPaySupport);
        sb.append(", riskStatus=").append(riskStatus);
        sb.append(", dayAmount=").append(dayAmount);
        sb.append(", dayAmountLimit=").append(dayAmountLimit);
        sb.append(", maxEveryAmountLimit=").append(maxEveryAmountLimit);
        sb.append(", name=").append(name);
        sb.append(", aliasName=").append(aliasName);
        sb.append(", merchantType=").append(merchantType);
        sb.append(", mccCode=").append(mccCode);
        sb.append(", certNo=").append(certNo);
        sb.append(", certType=").append(certType);
        sb.append(", certName=").append(certName);
        sb.append(", certImage=").append(certImage);
        sb.append(", certImageBack=").append(certImageBack);
        sb.append(", legalName=").append(legalName);
        sb.append(", legalCertNo=").append(legalCertNo);
        sb.append(", legalCertFrontImage=").append(legalCertFrontImage);
        sb.append(", legalCertBackImage=").append(legalCertBackImage);
        sb.append(", provinceCode=").append(provinceCode);
        sb.append(", cityCode=").append(cityCode);
        sb.append(", districtCode=").append(districtCode);
        sb.append(", address=").append(address);
        sb.append(", servicePhone=").append(servicePhone);
        sb.append(", outDoorImages=").append(outDoorImages);
        sb.append(", inDoorImages=").append(inDoorImages);
        sb.append(", contactName=").append(contactName);
        sb.append(", contactMobile=").append(contactMobile);
        sb.append(", contactType=").append(contactType);
        sb.append(", serviceArray=").append(serviceArray);
        sb.append(", siteArray=").append(siteArray);
        sb.append(", signTimeWithIsv=").append(signTimeWithIsv);
        sb.append(", alipayLogonId=").append(alipayLogonId);
        sb.append(", bindingAlipayLogonId=").append(bindingAlipayLogonId);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", applyQueryInfo=").append(applyQueryInfo);
        sb.append("]");
        return sb.toString();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        PayAlizftMchInfo other = (PayAlizftMchInfo) that;
        return (this.getSubMchId() == null ? other.getSubMchId() == null : this.getSubMchId().equals(other.getSubMchId()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()))
            && (this.getPassageTemplateId() == null ? other.getPassageTemplateId() == null : this.getPassageTemplateId().equals(other.getPassageTemplateId()))
            && (this.getAlipayIsvId() == null ? other.getAlipayIsvId() == null : this.getAlipayIsvId().equals(other.getAlipayIsvId()))
            && (this.getLastInTime() == null ? other.getLastInTime() == null : this.getLastInTime().equals(other.getLastInTime()))
            && (this.getApplyOrderId() == null ? other.getApplyOrderId() == null : this.getApplyOrderId().equals(other.getApplyOrderId()))
            && (this.getApplyStatus() == null ? other.getApplyStatus() == null : this.getApplyStatus().equals(other.getApplyStatus()))
            && (this.getRejectRemark() == null ? other.getRejectRemark() == null : this.getRejectRemark().equals(other.getRejectRemark()))
            && (this.getSmid() == null ? other.getSmid() == null : this.getSmid().equals(other.getSmid()))
            && (this.getSettType() == null ? other.getSettType() == null : this.getSettType().equals(other.getSettType()))
            && (this.getQRPaySupport() == null ? other.getQRPaySupport() == null : this.getQRPaySupport().equals(other.getQRPaySupport()))
            && (this.getAppPaySupport() == null ? other.getAppPaySupport() == null : this.getAppPaySupport().equals(other.getAppPaySupport()))
            && (this.getWapPaySupport() == null ? other.getWapPaySupport() == null : this.getWapPaySupport().equals(other.getWapPaySupport()))
            && (this.getPcPaySupport() == null ? other.getPcPaySupport() == null : this.getPcPaySupport().equals(other.getPcPaySupport()))
            && (this.getRiskStatus() == null ? other.getRiskStatus() == null : this.getRiskStatus().equals(other.getRiskStatus()))
            && (this.getDayAmount() == null ? other.getDayAmount() == null : this.getDayAmount().equals(other.getDayAmount()))
            && (this.getDayAmountLimit() == null ? other.getDayAmountLimit() == null : this.getDayAmountLimit().equals(other.getDayAmountLimit()))
            && (this.getMaxEveryAmountLimit() == null ? other.getMaxEveryAmountLimit() == null : this.getMaxEveryAmountLimit().equals(other.getMaxEveryAmountLimit()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getAliasName() == null ? other.getAliasName() == null : this.getAliasName().equals(other.getAliasName()))
            && (this.getMerchantType() == null ? other.getMerchantType() == null : this.getMerchantType().equals(other.getMerchantType()))
            && (this.getMccCode() == null ? other.getMccCode() == null : this.getMccCode().equals(other.getMccCode()))
            && (this.getCertNo() == null ? other.getCertNo() == null : this.getCertNo().equals(other.getCertNo()))
            && (this.getCertType() == null ? other.getCertType() == null : this.getCertType().equals(other.getCertType()))
            && (this.getCertName() == null ? other.getCertName() == null : this.getCertName().equals(other.getCertName()))
            && (this.getCertImage() == null ? other.getCertImage() == null : this.getCertImage().equals(other.getCertImage()))
            && (this.getCertImageBack() == null ? other.getCertImageBack() == null : this.getCertImageBack().equals(other.getCertImageBack()))
            && (this.getLegalName() == null ? other.getLegalName() == null : this.getLegalName().equals(other.getLegalName()))
            && (this.getLegalCertNo() == null ? other.getLegalCertNo() == null : this.getLegalCertNo().equals(other.getLegalCertNo()))
            && (this.getLegalCertFrontImage() == null ? other.getLegalCertFrontImage() == null : this.getLegalCertFrontImage().equals(other.getLegalCertFrontImage()))
            && (this.getLegalCertBackImage() == null ? other.getLegalCertBackImage() == null : this.getLegalCertBackImage().equals(other.getLegalCertBackImage()))
            && (this.getProvinceCode() == null ? other.getProvinceCode() == null : this.getProvinceCode().equals(other.getProvinceCode()))
            && (this.getCityCode() == null ? other.getCityCode() == null : this.getCityCode().equals(other.getCityCode()))
            && (this.getDistrictCode() == null ? other.getDistrictCode() == null : this.getDistrictCode().equals(other.getDistrictCode()))
            && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
            && (this.getServicePhone() == null ? other.getServicePhone() == null : this.getServicePhone().equals(other.getServicePhone()))
            && (this.getOutDoorImages() == null ? other.getOutDoorImages() == null : this.getOutDoorImages().equals(other.getOutDoorImages()))
            && (this.getInDoorImages() == null ? other.getInDoorImages() == null : this.getInDoorImages().equals(other.getInDoorImages()))
            && (this.getContactName() == null ? other.getContactName() == null : this.getContactName().equals(other.getContactName()))
            && (this.getContactMobile() == null ? other.getContactMobile() == null : this.getContactMobile().equals(other.getContactMobile()))
            && (this.getContactType() == null ? other.getContactType() == null : this.getContactType().equals(other.getContactType()))
            && (this.getServiceArray() == null ? other.getServiceArray() == null : this.getServiceArray().equals(other.getServiceArray()))
            && (this.getSiteArray() == null ? other.getSiteArray() == null : this.getSiteArray().equals(other.getSiteArray()))
            && (this.getSignTimeWithIsv() == null ? other.getSignTimeWithIsv() == null : this.getSignTimeWithIsv().equals(other.getSignTimeWithIsv()))
            && (this.getAlipayLogonId() == null ? other.getAlipayLogonId() == null : this.getAlipayLogonId().equals(other.getAlipayLogonId()))
            && (this.getBindingAlipayLogonId() == null ? other.getBindingAlipayLogonId() == null : this.getBindingAlipayLogonId().equals(other.getBindingAlipayLogonId()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getApplyQueryInfo() == null ? other.getApplyQueryInfo() == null : this.getApplyQueryInfo().equals(other.getApplyQueryInfo()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getSubMchId() == null) ? 0 : getSubMchId().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        result = prime * result + ((getPassageTemplateId() == null) ? 0 : getPassageTemplateId().hashCode());
        result = prime * result + ((getAlipayIsvId() == null) ? 0 : getAlipayIsvId().hashCode());
        result = prime * result + ((getLastInTime() == null) ? 0 : getLastInTime().hashCode());
        result = prime * result + ((getApplyOrderId() == null) ? 0 : getApplyOrderId().hashCode());
        result = prime * result + ((getApplyStatus() == null) ? 0 : getApplyStatus().hashCode());
        result = prime * result + ((getRejectRemark() == null) ? 0 : getRejectRemark().hashCode());
        result = prime * result + ((getSmid() == null) ? 0 : getSmid().hashCode());
        result = prime * result + ((getSettType() == null) ? 0 : getSettType().hashCode());
        result = prime * result + ((getQRPaySupport() == null) ? 0 : getQRPaySupport().hashCode());
        result = prime * result + ((getAppPaySupport() == null) ? 0 : getAppPaySupport().hashCode());
        result = prime * result + ((getWapPaySupport() == null) ? 0 : getWapPaySupport().hashCode());
        result = prime * result + ((getPcPaySupport() == null) ? 0 : getPcPaySupport().hashCode());
        result = prime * result + ((getRiskStatus() == null) ? 0 : getRiskStatus().hashCode());
        result = prime * result + ((getDayAmount() == null) ? 0 : getDayAmount().hashCode());
        result = prime * result + ((getDayAmountLimit() == null) ? 0 : getDayAmountLimit().hashCode());
        result = prime * result + ((getMaxEveryAmountLimit() == null) ? 0 : getMaxEveryAmountLimit().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getAliasName() == null) ? 0 : getAliasName().hashCode());
        result = prime * result + ((getMerchantType() == null) ? 0 : getMerchantType().hashCode());
        result = prime * result + ((getMccCode() == null) ? 0 : getMccCode().hashCode());
        result = prime * result + ((getCertNo() == null) ? 0 : getCertNo().hashCode());
        result = prime * result + ((getCertType() == null) ? 0 : getCertType().hashCode());
        result = prime * result + ((getCertName() == null) ? 0 : getCertName().hashCode());
        result = prime * result + ((getCertImage() == null) ? 0 : getCertImage().hashCode());
        result = prime * result + ((getCertImageBack() == null) ? 0 : getCertImageBack().hashCode());
        result = prime * result + ((getLegalName() == null) ? 0 : getLegalName().hashCode());
        result = prime * result + ((getLegalCertNo() == null) ? 0 : getLegalCertNo().hashCode());
        result = prime * result + ((getLegalCertFrontImage() == null) ? 0 : getLegalCertFrontImage().hashCode());
        result = prime * result + ((getLegalCertBackImage() == null) ? 0 : getLegalCertBackImage().hashCode());
        result = prime * result + ((getProvinceCode() == null) ? 0 : getProvinceCode().hashCode());
        result = prime * result + ((getCityCode() == null) ? 0 : getCityCode().hashCode());
        result = prime * result + ((getDistrictCode() == null) ? 0 : getDistrictCode().hashCode());
        result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
        result = prime * result + ((getServicePhone() == null) ? 0 : getServicePhone().hashCode());
        result = prime * result + ((getOutDoorImages() == null) ? 0 : getOutDoorImages().hashCode());
        result = prime * result + ((getInDoorImages() == null) ? 0 : getInDoorImages().hashCode());
        result = prime * result + ((getContactName() == null) ? 0 : getContactName().hashCode());
        result = prime * result + ((getContactMobile() == null) ? 0 : getContactMobile().hashCode());
        result = prime * result + ((getContactType() == null) ? 0 : getContactType().hashCode());
        result = prime * result + ((getServiceArray() == null) ? 0 : getServiceArray().hashCode());
        result = prime * result + ((getSiteArray() == null) ? 0 : getSiteArray().hashCode());
        result = prime * result + ((getSignTimeWithIsv() == null) ? 0 : getSignTimeWithIsv().hashCode());
        result = prime * result + ((getAlipayLogonId() == null) ? 0 : getAlipayLogonId().hashCode());
        result = prime * result + ((getBindingAlipayLogonId() == null) ? 0 : getBindingAlipayLogonId().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getApplyQueryInfo() == null) ? 0 : getApplyQueryInfo().hashCode());
        return result;
    }
}